﻿using System;

/// <summary>
/// T_Consultative 的摘要说明
/// </summary>
namespace Consultative
{
    public class TConsultative
    {
        /// <summary>
        /// 资讯信息
        /// </summary>
        public TConsultative()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }

        #region Model
        private int _id;
        private string _title;
        private string _color;
        private string _font;
        private int _typeid;
        private string _picture;
        private string _keyword;
        private string _author;
        private string _origin;
        private string _reading;
        private string _changedirectionlink;
        private DateTime _adddate;
        private string _clickcount;
        private string _detail;
        private int _countup;
        private int _countdown;
        private bool _isTop;
        private bool _isComment;
        private bool _isHotspot;
        private bool _isRecommend;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 字体颜色
        /// </summary>
        public string Color
        {
            set { _color = value; }
            get { return _color; }
        }
        /// <summary>
        /// 字体设置
        /// </summary>
        public string Font 
        {
            set { _font = value; }
            get { return _font; }
        }
        /// <summary>
        /// 类型ID
        /// </summary>
        public int TypeID
        {
            set { _typeid = value; }
            get { return _typeid; }
        }
        /// <summary>
        /// 图片
        /// </summary>
        public string Picture
        {
            set { _picture = value; }
            get { return _picture; }
        }
     
        /// <summary>
        /// 关键字
        /// </summary>
        public string KeyWord
        {
            set { _keyword = value; }
            get { return _keyword; }
        }
        /// <summary>
        /// 作者
        /// </summary>
        public string Author
        {
            set { _author = value; }
            get { return _author; }
        }
        /// <summary>
        /// 来源
        /// </summary>
        public string Origin
        {
            set { _origin = value; }
            get { return _origin; }
        }
        /// <summary>
        /// 导读
        /// </summary>
        public string Reading
        {
            set { _reading = value; }
            get { return _reading; }
        }
        /// <summary>
        /// 转向连接
        /// </summary>
        public string ChangeDirectionLink
        {
            set { _changedirectionlink = value; }
            get { return _changedirectionlink; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime AddDate
        {
            set { _adddate = value; }
            get { return _adddate; }
        }
        /// <summary>
        /// 点击数
        /// </summary>
        public string ClickCount
        {
            set { _clickcount = value; }
            get { return _clickcount; }
        }
        /// <summary>
        /// 详细信息
        /// </summary>
        public string Detail
        {
            set { _detail = value; }
            get { return _detail; }
        }
        /// <summary>
        /// 顶
        /// </summary>
        public int CountUp
        {
            set { _countup = value; }
            get { return _countup; }
        }
        /// <summary>
        /// 踩
        /// </summary>
        public int CountDown
        {
            set { _countdown = value; }
            get { return _countdown; }
        }

        ///<summary>
        ///是否置顶
        ///</summary>
        public bool  IsTop
        {
            set { _isTop = value; }
            get { return _isTop; }
        }

        ///<summary>
        ///是否推荐
        ///</summary>
        public bool IsRecommend
        {
            set { _isRecommend = value; }
            get { return _isRecommend; }
        }

        ///<summary>
        ///是否热点
        ///</summary>
        public bool IsHotspot
        {
            set { _isHotspot = value; }
            get { return _isHotspot; }
        }

        ///<summary>
        ///是否允许评论
        ///</summary>
        public bool IsComment
        {
            set { _isComment = value; }
            get { return _isComment; }
        }
        #endregion Model
    }
}
